package test;

import java.io.IOException;
import java.io.InputStream;

import org.kernelab.basis.Tools;

import svm.svm_predict;

public class Draft {

	/**
	 * @param args
	 * @throws ClassNotFoundException 
	 * @throws IllegalAccessException 
	 * @throws InstantiationException 
	 * @throws IOException 
	 */
	@SuppressWarnings("unchecked")
	public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, IOException {
		// TODO Auto-generated method stub
		StringBuffer buffer = new StringBuffer();
		svm_predict p = new svm_predict();
		buffer.append("-b 1").append(" ");
		buffer.append("dataSvmTest.txt").append(" ");
		buffer.append("model_file").append(" ");
		buffer.append("output_file").append(" ");
		String[] pargvs = buffer.toString().split(" ");
		p.predict(pargvs);
	}
}
